package com.cskaoyan.app.enums;
public enum OrderCodeStat {
    UNPAID(101, "未付款"),
    USER_CANCEL(102, "用户取消"),
    SYS_CANCEL(103, "系统取消"),
    PAID(201, "已付款"),
    PRE_REFUND(202, "申请退款"),
    REFUND(203, "已退款"),
    SENT(301, "已发货"),
    USER_RECEIVED(401, "用户收货"),
    SYS_RECEIVED(402, "系统收货");

    private final Short code;
    private final String text;

    OrderCodeStat(int code, String text) {

        this.code = (short) code;
        this.text = text;
    }

    public Short getCode() {
        return code;
    }

    public String getText() {
        return text;
    }
}
